home *** CD-ROM | disk | FTP | other *** search
/ Mac Easy 2010 May / Mac Life Ubuntu.iso / casper / filesystem.squashfs / usr / share / xml / gnome / xslt / docbook / utils / figures.xsl < prev    next >
Encoding:
Extensible Markup Language  |  2009-03-17  |  1.5 KB  |  46 lines

  1. <?xml version='1.0' encoding='UTF-8'?><!-- -*- indent-tabs-mode: nil -*- -->
  2. <!--
  3. This program is free software; you can redistribute it and/or modify it under
  4. the terms of the GNU Lesser General Public License as published by the Free
  5. Software Foundation; either version 2 of the License, or (at your option) any
  6. later version.
  7.  
  8. This program is distributed in the hope that it will be useful, but WITHOUT
  9. ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
  10. FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
  11. details.
  12.  
  13. You should have received a copy of the GNU Lesser General Public License
  14. along with this program; see the file COPYING.LGPL.  If not, write to the
  15. Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
  16. 02111-1307, USA.
  17. -->
  18.  
  19. <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  20.                 version="1.0">
  21.  
  22. <xsl:output method="text" encoding="utf-8"/>
  23.  
  24. <xsl:include href="../html/db2html-media.xsl"/>
  25.  
  26. <xsl:template match="/">
  27.   <xsl:for-each select="//mediaobject">
  28.     <xsl:call-template name="db2html.mediaobject">
  29.       <xsl:with-param name="node" select="."/>
  30.     </xsl:call-template>
  31.   </xsl:for-each>
  32. </xsl:template>
  33.  
  34. <xsl:template match="imageobjectco">
  35.   <xsl:apply-templates select="imageobject"/>
  36. </xsl:template>
  37.  
  38. <xsl:template match="imageobject">
  39.   <xsl:call-template name="db2html.imagedata.src">
  40.     <xsl:with-param name="node" select="imagedata"/>
  41.   </xsl:call-template>
  42.   <xsl:text> </xsl:text>
  43. </xsl:template>
  44.  
  45. </xsl:stylesheet>
  46.